<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: src/ir_Gree.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">ir_Gree.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Support for Gree A/C protocols.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aaae182fb09bed73e37a5b5d3aee6a5fb"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#aaae182fb09bed73e37a5b5d3aee6a5fb">kGreeHdrMark</a> = 9000</td></tr>
<tr class="separator:aaae182fb09bed73e37a5b5d3aee6a5fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96b50632219c2b5808aea4ee9077b15c"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#a96b50632219c2b5808aea4ee9077b15c">kGreeHdrSpace</a> = 4500</td></tr>
<tr class="memdesc:a96b50632219c2b5808aea4ee9077b15c"><td class="mdescLeft">&#160;</td><td class="mdescRight">See #684 &amp; real example in unit tests.  <a href="ir__Gree_8cpp.html#a96b50632219c2b5808aea4ee9077b15c">More...</a><br /></td></tr>
<tr class="separator:a96b50632219c2b5808aea4ee9077b15c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7e23346f6d793cc2469e4c8a5650397"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#ad7e23346f6d793cc2469e4c8a5650397">kGreeBitMark</a> = 620</td></tr>
<tr class="separator:ad7e23346f6d793cc2469e4c8a5650397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab139138084643ea0fca13b28412904e9"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#ab139138084643ea0fca13b28412904e9">kGreeOneSpace</a> = 1600</td></tr>
<tr class="separator:ab139138084643ea0fca13b28412904e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4694ba8ff0e14cd6b9c4730675c385f"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#aa4694ba8ff0e14cd6b9c4730675c385f">kGreeZeroSpace</a> = 540</td></tr>
<tr class="separator:aa4694ba8ff0e14cd6b9c4730675c385f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a619ed3a2915196ab91d87db2b5a829fd"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#a619ed3a2915196ab91d87db2b5a829fd">kGreeMsgSpace</a> = 19000</td></tr>
<tr class="separator:a619ed3a2915196ab91d87db2b5a829fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6d01cfa7ee2ef6ff27c1ecd7cd9be51"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#ae6d01cfa7ee2ef6ff27c1ecd7cd9be51">kGreeBlockFooter</a> = 0b010</td></tr>
<tr class="separator:ae6d01cfa7ee2ef6ff27c1ecd7cd9be51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae866eef4c729c703597a266917799cbd"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ir__Gree_8cpp.html#ae866eef4c729c703597a266917799cbd">kGreeBlockFooterBits</a> = 3</td></tr>
<tr class="separator:ae866eef4c729c703597a266917799cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Support for Gree A/C protocols. </p>
<dl class="section see"><dt>See also</dt><dd><a href="https://github.com/ToniA/arduino-heatpumpir/blob/master/GreeHeatpumpIR.h">https://github.com/ToniA/arduino-heatpumpir/blob/master/GreeHeatpumpIR.h</a> </dd></dl>
</div><h2 class="groupheader">Variable Documentation</h2>
<a id="ad7e23346f6d793cc2469e4c8a5650397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7e23346f6d793cc2469e4c8a5650397">&#9670;&nbsp;</a></span>kGreeBitMark</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kGreeBitMark = 620</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae6d01cfa7ee2ef6ff27c1ecd7cd9be51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6d01cfa7ee2ef6ff27c1ecd7cd9be51">&#9670;&nbsp;</a></span>kGreeBlockFooter</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint8_t kGreeBlockFooter = 0b010</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae866eef4c729c703597a266917799cbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae866eef4c729c703597a266917799cbd">&#9670;&nbsp;</a></span>kGreeBlockFooterBits</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint8_t kGreeBlockFooterBits = 3</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aaae182fb09bed73e37a5b5d3aee6a5fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaae182fb09bed73e37a5b5d3aee6a5fb">&#9670;&nbsp;</a></span>kGreeHdrMark</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kGreeHdrMark = 9000</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a96b50632219c2b5808aea4ee9077b15c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96b50632219c2b5808aea4ee9077b15c">&#9670;&nbsp;</a></span>kGreeHdrSpace</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kGreeHdrSpace = 4500</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>See #684 &amp; real example in unit tests. </p>

</div>
</div>
<a id="a619ed3a2915196ab91d87db2b5a829fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a619ed3a2915196ab91d87db2b5a829fd">&#9670;&nbsp;</a></span>kGreeMsgSpace</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kGreeMsgSpace = 19000</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab139138084643ea0fca13b28412904e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab139138084643ea0fca13b28412904e9">&#9670;&nbsp;</a></span>kGreeOneSpace</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kGreeOneSpace = 1600</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa4694ba8ff0e14cd6b9c4730675c385f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4694ba8ff0e14cd6b9c4730675c385f">&#9670;&nbsp;</a></span>kGreeZeroSpace</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const uint16_t kGreeZeroSpace = 540</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
